<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
    <!--无数据提示 开始-->
    <section th:if="${#lists.isEmpty(dataMap['list'])}" class="no-data__wrap">
        <span class="no-data-ico"></span>
        <p class="mt20"><span class="c-666">最近一段时间，还没有账户变化记录~~~</span></p>
    </section>
    <!--无数据提示 结束-->
    <table th:if="!${#lists.isEmpty(dataMap['list'])}" class="table table-hover">
        <thead>
            <tr>
                <th><span class="c-999 fs12">操作时间</span></th>
                <th><span class="c-999 fs12">金额(元)</span></th>
                <th><span class="c-999 fs12">类型</span></th>
                <th><span class="c-999 fs12">账户余额(元)</span></th>
            </tr>
        </thead>
        <tbody>
            <tr th:each="accountHistorie:${dataMap['list']}">
                <td>
                    <span class="c-999" th:text="${#strings.substring(accountHistorie['createTime'],0,16)}">
                    </span>
                </td>
                <td>
                    <th:block th:if="${accountHistorie['actHistoryType']}=='VMLOAD' or
                                                           ${accountHistorie['actHistoryType']}=='REFUND'  or
                                                           ${accountHistorie['actHistoryType']}=='CASHLOAD'  or
                                                           ${accountHistorie['actHistoryType']}=='THAW_AMOUNT'  or
                                                           ${accountHistorie['actHistoryType']}=='ATTEND'   or
                                                           ${accountHistorie['actHistoryType']}=='ADMINLOAD' or
                                                           ${accountHistorie['actHistoryType']}=='SPREAD' or
                                                           ${accountHistorie['actHistoryType']}=='REWARD' or
                                                           ${accountHistorie['actHistoryType']}=='REFUND_CASH'">

                        <span class="c-primary fs12 vam" >
                            <i class="fa fa-plus"></i>
                        </span>
                        <span class="fs18 c-primary vam ml5" th:text="${accountHistorie['trxAmount']}"></span>
                    </th:block>
                    <th:block th:if="${accountHistorie['actHistoryType']}=='SALES' or
                                                           ${accountHistorie['actHistoryType']}=='ADMINREFUND' or
                                                           ${accountHistorie['actHistoryType']}=='FORZEN_AMOUNT' or
                                                           ${accountHistorie['actHistoryType']}=='CASH'">
                        <span class="c-danger fs12 vam">
                            <i class="fa fa-minus"></i>
                        </span>
                        <span class="fs18 c-danger vam ml5" th:text="${accountHistorie['trxAmount']}"></span>
                    </th:block>
                </td>
                <td>
                    <span class="c-999" th:if="${accountHistorie['actHistoryType']}=='ATTEND'">问题围观收益</span>
                    <span class="c-999" th:if="${accountHistorie['actHistoryType']}=='SALES'">消费</span>
                    <span class="c-999" th:if="${accountHistorie['actHistoryType']}=='REFUND'">退款</span>
                    <span class="c-999" th:if="${accountHistorie['actHistoryType']}=='VMLOAD'">充值卡充值</span>
                    <span class="c-999" th:if="${accountHistorie['actHistoryType']}=='CASHLOAD'">现金充值</span>
                    <span class="c-999" th:if="${accountHistorie['actHistoryType']}=='ADMINLOAD'">后台充值</span>
                    <span class="c-999" th:if="${accountHistorie['actHistoryType']}=='ADMINREFUND'">后台扣款</span>
                    <span class="c-999" th:if="${accountHistorie['actHistoryType']}=='FORZEN_AMOUNT'">冻结金额</span>
                    <span class="c-999" th:if="${accountHistorie['actHistoryType']}=='THAW_AMOUNT'">解冻金额</span>
                    <span class="c-999" th:if="${accountHistorie['actHistoryType']}=='SPREAD'">推广收益</span>
                    <span class="c-999" th:if="${accountHistorie['actHistoryType']}=='REWARD'">推广奖金收益</span>
                    <span class="c-999" th:if="${accountHistorie['actHistoryType']}=='CASH'">提现</span>
                    <span class="c-999" th:if="${accountHistorie['actHistoryType']}=='REFUND_CASH'">回退提现</span>
                </td>
                <td>
                    <span class="c-666"  th:text="${accountHistorie['balance']}"></span>
                </td>
            </tr>
        </tbody>
    </table>
    <div data-th-replace="layout/user/user-center-page"></div>
